package com.techstar.ats.status;

import java.util.Set;

public enum WaterproofDoorStatus implements StatusEnumerated {
	CLOSED("防淹门", "关闭", "开启"),
	EXPECT_CLOSE("期望防淹门", "关闭", "开启");

	private final String literal;
	private final String trueLiteral;
	private final String falseLiteral;

	WaterproofDoorStatus(String literal, String trueLiteral, String falseLiteral) {
		this.literal = literal;
		this.trueLiteral = trueLiteral;
		this.falseLiteral = falseLiteral;
	}

	@Override
	public String literal() {
		return this.literal;
	}

	@Override
	public String trueLiteral() {
		return this.trueLiteral;
	}

	@Override
	public String falseLiteral() {
		return this.falseLiteral;
	}

	public static Set<WaterproofDoorStatus> valueOf(int mask) {
		return StatusEnumerated.valueOf(WaterproofDoorStatus.class, mask);
	}
}
